package com.slink.fxfk.demo.service.imp;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.slink.fxfk.common.dao.CommonDao;
import com.slink.fxfk.demo.domain.po.PStudent;
import com.slink.fxfk.demo.service.DemoService;

@Service
public class DemoServiceImpl implements DemoService
{
    @Autowired
    private CommonDao commonDaoVv;

    public DemoServiceImpl()
    {
        System.out.println("init...");
    }
    
    public void createDbTrans()
    {

        PStudent u = new PStudent();
        u.setUsername("抠鼻");
        this.commonDaoVv.save(u);
    }
}
